package com.bestflashsolutions.events
{
	import flash.events.Event;
	
	public class ChatUpdateEvent extends Event
	{
		public static var DATA_CHANGE:String = "dataChange";
		
		public var dataMessages:Array;
		
		public function ChatUpdateEvent(type:String, bubbles:Boolean=false, cancelable:Boolean=false, datas:Array=null)
		{
			super(type, bubbles, cancelable);
			dataMessages = datas;
		}
		
		override public function clone():Event
		{
			return new ChatUpdateEvent(type, bubbles, cancelable, dataMessages);
		}
	}
}